package com.gzhryc.net_marketing.cloud.micro.api.dto.v1.order;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;

public class MemberOrderWaitPayInfoResponse extends SecurityResponse<MemberOrderWaitPayInfoResponse.Body> {

	private static final long serialVersionUID = 1L;

	public MemberOrderWaitPayInfoResponse() {
		this.body = new Body();
	}

	public MemberOrderWaitPayInfoResponse(Integer code) {
		this.body = new Body();
		this.code = code;
	}

	public MemberOrderWaitPayInfoResponse(Integer code, String msg) {
		this.body = new Body();
		this.code = code;
		this.msg = msg;
	}

	public static class Body implements Serializable {

		private static final long serialVersionUID = 1L;

		private String tradeNo;
		private Integer businessType;
		private Integer goodsNum;
		private Long specificationId;
		private String specificationName;
		private Long applyId;
		private Integer applyState;

		private GoodsEntity goods;
		private MailAddress addressInfo;

		private String logisticsCompanyId;	//用于计算物流费用的妥协参数

		public GoodsEntity getGoods() {
			return goods;
		}

		public void setGoods(GoodsEntity goods) {
			this.goods = goods;
		}

		public String getTradeNo() {
			return tradeNo;
		}

		public void setTradeNo(String tradeNo) {
			this.tradeNo = tradeNo;
		}

		public Integer getBusinessType() {
			return businessType;
		}

		public void setBusinessType(Integer businessType) {
			this.businessType = businessType;
		}

		public Integer getApplyState() {
			return applyState;
		}

		public void setApplyState(Integer applyState) {
			this.applyState = applyState;
		}

		public Integer getGoodsNum() {
			return goodsNum;
		}

		public void setGoodsNum(Integer goodsNum) {
			this.goodsNum = goodsNum;
		}

		public Long getSpecificationId() {
			return specificationId;
		}

		public void setSpecificationId(Long specificationId) {
			this.specificationId = specificationId;
		}

		public String getSpecificationName() {
			return specificationName;
		}

		public void setSpecificationName(String specificationName) {
			this.specificationName = specificationName;
		}

		public Long getApplyId() {
			return applyId;
		}

		public void setApplyId(Long applyId) {
			this.applyId = applyId;
		}

		public MailAddress getAddressInfo() {
			return addressInfo;
		}

		public void setAddressInfo(MailAddress addressInfo) {
			this.addressInfo = addressInfo;
		}

		public String getLogisticsCompanyId() {
			return logisticsCompanyId;
		}

		public void setLogisticsCompanyId(String logisticsCompanyId) {
			this.logisticsCompanyId = logisticsCompanyId;
		}
	}

	public static class MailAddress {

		private Long id;
		private String receiveName;
		private String receivePhone;
		private String address;

		public Long getId() {
			return id;
		}

		public void setId(Long id) {
			this.id = id;
		}

		public String getReceiveName() {
			return receiveName;
		}

		public void setReceiveName(String receiveName) {
			this.receiveName = receiveName;
		}

		public String getReceivePhone() {
			return receivePhone;
		}

		public void setReceivePhone(String receivePhone) {
			this.receivePhone = receivePhone;
		}

		public String getAddress() {
			return address;
		}

		public void setAddress(String address) {
			this.address = address;
		}
	}

	public static class GoodsEntity {

		private Long goodsId;
		private String goodsName;
		private String thumbnailImg;
		private String payMoney;
		private String teamPayMoney;
		private Integer teamMemberTotal;

		private Long supplierId;	//供应链应用ID，用于计算物流费用的妥协参数

		public Long getGoodsId() {
			return goodsId;
		}

		public void setGoodsId(Long goodsId) {
			this.goodsId = goodsId;
		}

		public String getGoodsName() {
			return goodsName;
		}

		public void setGoodsName(String goodsName) {
			this.goodsName = goodsName;
		}

		public String getThumbnailImg() {
			return thumbnailImg;
		}

		public void setThumbnailImg(String thumbnailImg) {
			this.thumbnailImg = thumbnailImg;
		}

		public String getPayMoney() {
			return payMoney;
		}

		public void setPayMoney(String payMoney) {
			this.payMoney = payMoney;
		}

		public String getTeamPayMoney() {
			return teamPayMoney;
		}

		public void setTeamPayMoney(String teamPayMoney) {
			this.teamPayMoney = teamPayMoney;
		}

		public Integer getTeamMemberTotal() {
			return teamMemberTotal;
		}

		public void setTeamMemberTotal(Integer teamMemberTotal) {
			this.teamMemberTotal = teamMemberTotal;
		}

		public Long getSupplierId() {
			return supplierId;
		}

		public void setSupplierId(Long supplierId) {
			this.supplierId = supplierId;
		}
	}
}
